package cn.lzh.service;

import cn.lzh.entity.Hot;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HotService {
    public List<Hot> findAll();
    public  void  addHot(Hot hot);
    public Hot finsByid(int id);
    public int delete (Integer id);
    //根据类别查询
    public List<Hot> findByType(@Param("type") int n1, @Param("num") int n2);
}
